package com.sfx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-07-10
 * Time: 10:53
 */
//扫描mapper
@MapperScan("com.sfx.mapper")
//启动类
@SpringBootApplication
//开启定时任务
@EnableScheduling
//swagger接口文档 访问：http://localhost:7777/swagger-ui.html
@EnableSwagger2
public class BlogSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(BlogSystemApplication.class,args);
    }
}